package entities;

public class Request {

	public static final int TYPE_RESERVE = 1;
	public static final int TYPE_PURCHASE = 2;
	public static final int TYPE_REMOVE = 3;
	
	private int type;
	private String theaterName;
	private String timestamp;
	private int seatID;
	private int userID;
	private boolean inReplic;
	
	public Request(int type, String theaterName, int seatID, int userID, String timestamp, boolean inReplic){
		this.type = type;
		this.theaterName = theaterName;
		this.seatID = seatID;
		this.userID = userID;
		this.timestamp = timestamp;
		this.inReplic = inReplic;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getTheaterName() {
		return theaterName;
	}

	public void setTheaterName(String theaterName) {
		this.theaterName = theaterName;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp = timestamp;
	}

	public int getSeatID() {
		return seatID;
	}

	public void setSeatID(int seatID) {
		this.seatID = seatID;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public boolean isInReplic() {
		return inReplic;
	}

	public void setInReplic(boolean inReplic) {
		this.inReplic = inReplic;
	}
	
}
